<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8"> 
	<title>Bootstrap 实例 - 弹出框（Popover）插件</title>
	<link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
	<script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
	<script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
    <div class="container" style="padding:100px 50px 10px;">
        <button type="button" class="btn btn-default" title="popover title"
        data-container="body" data-toggle="popover"
        data-placement="left" data-content="左侧的 popover中的一些内容">
        左侧的popover
        </button>
        <button type="button" class="btn btn-primary" title="popover title"
        data-container="body" data-toggle="popover"
        data-placement="top" data-content="顶部的popover中的一些内容">
        顶部的popover
        </button>
        <button type="button" class="btn-success" title="popover title"
        data-container="body" data-toggle="popover" data-placement="bottom"
        data-content="底部的popover中的一些内容">
        底部的popover
        </button>
        <button type="button" class="btn btn-warning" title="popover title"
        data-container="body" data-toggle="popover" data-container="body"
        data-toggle="popover" data-poacement="right" 
        data-content="右侧的popover中的一些呢绒">
        右侧的popover
        </button>
        
    </div>
    <script>
        $(function(){
            $("[data-toggle='popover']").popover();
        });
    </script>

</body>
</html>